/* ** por compatibilidad se omiten tildes **
================================================================================
 TRABAJO PRACTICO 3 - System Programming - ORGANIZACION DE COMPUTADOR II - FCEN
================================================================================
*/

#ifndef __GAME_H__
#define __GAME_H__

#include "defines.h"
#include "screen.h"
#include "mmu.h"

unsigned int posA,posB;
unsigned int tipoA,tipoB;
char j_actual;
char zombisAvivos[CANT_ZOMBIS];
char zombisBvivos[CANT_ZOMBIS];
int posicionesA[16];
int posicionesB[16];
char tiposA[8];
char tiposB[8];

typedef enum direccion_e { IZQ = 0xAAA, DER = 0x441, ADE = 0x83D, ATR = 0x732 } direccion;

void init_jugadores();

void game_jugador_mover(unsigned int jugador, unsigned int value);

void game_lanzar_zombi(char jugador);

void game_move_current_zombi(direccion dir);

void game_zombie_rotar(unsigned char jugador, unsigned int value);

void desalojar_tarea();

#endif  /* !__GAME_H__ */
